package com.iotp;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration//配置控制
@EnableAutoConfiguration//启用自动配置
@ComponentScan//组件扫描
@SpringBootApplication
public class PestdiagnosisApplication {
	private static final Logger logger = LoggerFactory.getLogger(PestdiagnosisApplication.class);
	public static void main(String[] args) {
		SpringApplication.run(PestdiagnosisApplication.class, args);
		logger.info("Pestdiagnosis 启动成功");
	}
}
